package com.yaolisheng.controller;

import com.yaolisheng.service.PromTestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Company: 神州数码信息系统有限公司
 * @Author : yaols
 * @Date: 2022/10/08/15:34
 **/
@RestController
public class PromTestController {

    @Autowired
    private PromTestService testService;

    @RequestMapping("/query")
    public String promeTest() {
        String up = testService.promQLHTTPAPI("up");
        return up;
    }
}
